package com.cardvalue.sys.entity;

import java.util.List;

import io.realm.RealmList;
import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;

/**
 * 用户对象
 * Created by cardvalue on 2016/3/30.
 */
public class User extends RealmObject{
    private String processCode;
    private String captcha;
    private String website;
    private String token;
    private String userId;
    private String ownerName;//申请人
    private String content;
    private String password;

    private  String merchantId;

    private String couponIds;

    private String blackBox;

    private String ownerSSN;

    private String servicePassword;

    private String jxlToken;

    //  private String

    @PrimaryKey
    private String mobilePhone;

    private String agreeToLicense;

    private String createdAt;

    private String updatedAt;

    private String openId;

    private String isEmailVerified;

    public String getPassword() {
        return password;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCouponIds() {
        return couponIds;
    }

    public void setCouponIds(String couponIds) {
        this.couponIds = couponIds;
    }

    public String getBlackBox() {
        return blackBox;
    }

    public void setBlackBox(String blackBox) {
        this.blackBox = blackBox;
    }

    private String renewTime;

    private String objectId;

    private String applicationId;

    private String isRenewable;

    private String industryGId;

    private String industryGName;

    private String industryPId;

    private String industryPName;

    private String industryCId;

    private String industryCName;

    private String provinceId;

    private String cityId;

    private String bizRegisterNo;

    private String businessAddress;

    private String corporateName;

    private String businessName;

    private String bizAddrLonlat;

    private String ownerAddress;

    private String landlordPhone;

    private String emergencyName;

    private String emergencyPhone;

    private String directType;

    private String directName;

    private String directPhone;

    private String longitude;

    private String latitude;

    private String isJxlValid;

    private String secondaryBankDDA;

    public String getServicePassword() {
        return servicePassword;
    }

    public void setServicePassword(String servicePassword) {
        this.servicePassword = servicePassword;
    }

    public String getJxlToken() {
        return jxlToken;
    }

    public void setJxlToken(String jxlToken) {
        this.jxlToken = jxlToken;
    }

    private String secondaryBankName;

    private String loanAmount;

    private String hasLeaseContract;//是否有租赁合同

    private String noLeaseContractReason;

    private String proprietorName;

    private String proprietorPhone;

    private String leaseContractStartTime;

    private String leaseContractEndTime;

    private String leaseYearAmt;

    private String numLocations;

    private String yearTurnover;

    private String planFundTerm;

    private String planFundTermName;

    private String proposerName;

    private String isBasicCreditValid;

    private String isPosCreditValid;

    private String qrcodeUrl;

    private RealmList<SelHasLeaseContract> selHasLeaseContract ;

    private RealmList<SelHasLeaseContract> selNoLeaseContractReason ;

    public User() {
    }

    public String getOwnerSSN() {
        return ownerSSN;
    }

    public void setOwnerSSN(String ownerSSN) {
        this.ownerSSN = ownerSSN;
    }

    public void setMobilePhone(String mobilePhone){
        this.mobilePhone = mobilePhone;
    }
    public String getMobilePhone(){
        return this.mobilePhone;
    }
    public void setAgreeToLicense(String agreeToLicense){
        this.agreeToLicense = agreeToLicense;
    }
    public String getAgreeToLicense(){
        return this.agreeToLicense;
    }
    public void setCreatedAt(String createdAt){
        this.createdAt = createdAt;
    }
    public String getCreatedAt(){
        return this.createdAt;
    }
    public void setUpdatedAt(String updatedAt){
        this.updatedAt = updatedAt;
    }
    public String getUpdatedAt(){
        return this.updatedAt;
    }
    public void setOpenId(String openId){
        this.openId = openId;
    }
    public String getOpenId(){
        return this.openId;
    }
    public void setIsEmailVerified(String isEmailVerified){
        this.isEmailVerified = isEmailVerified;
    }
    public String getIsEmailVerified(){
        return this.isEmailVerified;
    }
    public void setRenewTime(String renewTime){
        this.renewTime = renewTime;
    }
    public String getRenewTime(){
        return this.renewTime;
    }
    public void setObjectId(String objectId){
        this.objectId = objectId;
    }
    public String getObjectId(){
        return this.objectId;
    }
    public void setApplicationId(String applicationId){
        this.applicationId = applicationId;
    }
    public String getApplicationId(){
        return this.applicationId;
    }
    public void setIsRenewable(String isRenewable){
        this.isRenewable = isRenewable;
    }
    public String getIsRenewable(){
        return this.isRenewable;
    }
    public void setIndustryGId(String industryGId){
        this.industryGId = industryGId;
    }
    public String getIndustryGId(){
        return this.industryGId;
    }
    public void setIndustryGName(String industryGName){
        this.industryGName = industryGName;
    }
    public String getIndustryGName(){
        return this.industryGName;
    }
    public void setIndustryPId(String industryPId){
        this.industryPId = industryPId;
    }
    public String getIndustryPId(){
        return this.industryPId;
    }
    public void setIndustryPName(String industryPName){
        this.industryPName = industryPName;
    }
    public String getIndustryPName(){
        return this.industryPName;
    }
    public void setIndustryCId(String industryCId){
        this.industryCId = industryCId;
    }
    public String getIndustryCId(){
        return this.industryCId;
    }
    public void setIndustryCName(String industryCName){
        this.industryCName = industryCName;
    }
    public String getIndustryCName(){
        return this.industryCName;
    }
    public void setProvinceId(String provinceId){
        this.provinceId = provinceId;
    }
    public String getProvinceId(){
        return this.provinceId;
    }
    public void setCityId(String cityId){
        this.cityId = cityId;
    }
    public String getCityId(){
        return this.cityId;
    }
    public void setBizRegisterNo(String bizRegisterNo){
        this.bizRegisterNo = bizRegisterNo;
    }
    public String getBizRegisterNo(){
        return this.bizRegisterNo;
    }
    public void setBusinessAddress(String businessAddress){
        this.businessAddress = businessAddress;
    }
    public String getBusinessAddress(){
        return this.businessAddress;
    }
    public void setCorporateName(String corporateName){
        this.corporateName = corporateName;
    }
    public String getCorporateName(){
        return this.corporateName;
    }
    public void setBusinessName(String businessName){
        this.businessName = businessName;
    }
    public String getBusinessName(){
        return this.businessName;
    }
    public void setBizAddrLonlat(String bizAddrLonlat){
        this.bizAddrLonlat = bizAddrLonlat;
    }
    public String getBizAddrLonlat(){
        return this.bizAddrLonlat;
    }
    public void setOwnerAddress(String ownerAddress){
        this.ownerAddress = ownerAddress;
    }
    public String getOwnerAddress(){
        return this.ownerAddress;
    }
    public void setLandlordPhone(String landlordPhone){
        this.landlordPhone = landlordPhone;
    }
    public String getLandlordPhone(){
        return this.landlordPhone;
    }
    public void setEmergencyName(String emergencyName){
        this.emergencyName = emergencyName;
    }
    public String getEmergencyName(){
        return this.emergencyName;
    }
    public void setEmergencyPhone(String emergencyPhone){
        this.emergencyPhone = emergencyPhone;
    }
    public String getEmergencyPhone(){
        return this.emergencyPhone;
    }
    public void setDirectType(String directType){
        this.directType = directType;
    }
    public String getDirectType(){
        return this.directType;
    }
    public void setDirectName(String directName){
        this.directName = directName;
    }
    public String getDirectName(){
        return this.directName;
    }
    public void setDirectPhone(String directPhone){
        this.directPhone = directPhone;
    }
    public String getDirectPhone(){
        return this.directPhone;
    }
    public void setLongitude(String longitude){
        this.longitude = longitude;
    }
    public String getLongitude(){
        return this.longitude;
    }
    public void setLatitude(String latitude){
        this.latitude = latitude;
    }
    public String getLatitude(){
        return this.latitude;
    }
    public void setIsJxlValid(String isJxlValid){
        this.isJxlValid = isJxlValid;
    }
    public String getIsJxlValid(){
        return this.isJxlValid;
    }
    public void setSecondaryBankDDA(String secondaryBankDDA){
        this.secondaryBankDDA = secondaryBankDDA;
    }
    public String getSecondaryBankDDA(){
        return this.secondaryBankDDA;
    }
    public void setSecondaryBankName(String secondaryBankName){
        this.secondaryBankName = secondaryBankName;
    }
    public String getSecondaryBankName(){
        return this.secondaryBankName;
    }
    public void setLoanAmount(String loanAmount){
        this.loanAmount = loanAmount;
    }
    public String getLoanAmount(){
        return this.loanAmount;
    }
    public void setHasLeaseContract(String hasLeaseContract){
        this.hasLeaseContract = hasLeaseContract;
    }
    public String getHasLeaseContract(){
        return this.hasLeaseContract;
    }
    public void setNoLeaseContractReason(String noLeaseContractReason){
        this.noLeaseContractReason = noLeaseContractReason;
    }
    public String getNoLeaseContractReason(){
        return this.noLeaseContractReason;
    }
    public void setProprietorName(String proprietorName){
        this.proprietorName = proprietorName;
    }
    public String getProprietorName(){
        return this.proprietorName;
    }
    public void setProprietorPhone(String proprietorPhone){
        this.proprietorPhone = proprietorPhone;
    }
    public String getProprietorPhone(){
        return this.proprietorPhone;
    }
    public void setLeaseContractStartTime(String leaseContractStartTime){
        this.leaseContractStartTime = leaseContractStartTime;
    }
    public String getLeaseContractStartTime(){
        return this.leaseContractStartTime;
    }
    public void setLeaseContractEndTime(String leaseContractEndTime){
        this.leaseContractEndTime = leaseContractEndTime;
    }
    public String getLeaseContractEndTime(){
        return this.leaseContractEndTime;
    }
    public void setLeaseYearAmt(String leaseYearAmt){
        this.leaseYearAmt = leaseYearAmt;
    }
    public String getLeaseYearAmt(){
        return this.leaseYearAmt;
    }
    public void setNumLocations(String numLocations){
        this.numLocations = numLocations;
    }
    public String getNumLocations(){
        return this.numLocations;
    }
    public void setYearTurnover(String yearTurnover){
        this.yearTurnover = yearTurnover;
    }
    public String getYearTurnover(){
        return this.yearTurnover;
    }
    public void setPlanFundTerm(String planFundTerm){
        this.planFundTerm = planFundTerm;
    }
    public String getPlanFundTerm(){
        return this.planFundTerm;
    }
    public void setPlanFundTermName(String planFundTermName){
        this.planFundTermName = planFundTermName;
    }
    public String getPlanFundTermName(){
        return this.planFundTermName;
    }
    public void setProposerName(String proposerName){
        this.proposerName = proposerName;
    }
    public String getProposerName(){
        return this.proposerName;
    }
    public void setIsBasicCreditValid(String isBasicCreditValid){
        this.isBasicCreditValid = isBasicCreditValid;
    }
    public String getIsBasicCreditValid(){
        return this.isBasicCreditValid;
    }
    public void setIsPosCreditValid(String isPosCreditValid){
        this.isPosCreditValid = isPosCreditValid;
    }
    public String getIsPosCreditValid(){
        return this.isPosCreditValid;
    }
    public void setQrcodeUrl(String qrcodeUrl){
        this.qrcodeUrl = qrcodeUrl;
    }
    public String getQrcodeUrl(){
        return this.qrcodeUrl;
    }
    public void setSelHasLeaseContract(RealmList<SelHasLeaseContract> selHasLeaseContract){
        this.selHasLeaseContract = selHasLeaseContract;
    }
    public List<SelHasLeaseContract> getSelHasLeaseContract(){
        return this.selHasLeaseContract;
    }
    public void setSelNoLeaseContractReason(RealmList<SelHasLeaseContract> selNoLeaseContractReason){
        this.selNoLeaseContractReason = selNoLeaseContractReason;
    }
    public List<SelHasLeaseContract> getSelNoLeaseContractReason(){
        return this.selNoLeaseContractReason;
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }


    public String getProcessCode() {
        return processCode;
    }

    public void setProcessCode(String processCode) {
        this.processCode = processCode;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

    public String getWebsite() {
        return website;
    }

    public void setWebsite(String website) {
        this.website = website;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    private  int code;

    private String error;


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

}